import Vue from 'vue';

import { 
    Container, 
    Aside, 
    Header, 
    Main, 
    Footer, 
    Dropdown,
    DropdownMenu,
    DropdownItem,
    Scrollbar, 
    Menu, 
    MenuItem, 
    Submenu, 
    Tooltip,
    Form,
    FormItem,
    RadioGroup,
    Radio,
    Button,
    Input,
    Table,
    TableColumn,
    Select,
    Option,
    Dialog,
    Pagination,
    ColorPicker,
    Row,
    Col,
    Upload,
    Image,
    Tag,
    Divider,
    Checkbox,
    CheckboxGroup,
    DatePicker,
    Tabs,
    TabPane,
    TimeSelect,
    Autocomplete,
    OptionGroup,
    Popover,
    ButtonGroup,
    Popconfirm,
    Cascader,
    Timeline,
    TimelineItem,
    Progress,
    Tree,
    Card,
    RadioButton,
    Empty,
    Loading,
    TimePicker,
} from 'element-ui';
// 项目中所有拥有 size 属性的组件的默认尺寸均为 'mini'，弹框的初始 z-index 为 3000
Vue.prototype.$ELEMENT = { size: 'mini', zIndex: 3000 };

Vue.use(TimePicker);
Vue.use(Loading.directive);
Vue.use(Empty);
Vue.use(Tree);
Vue.use(Progress);
Vue.use(TimelineItem);
Vue.use(Timeline);
Vue.use(Popconfirm);
Vue.use(ButtonGroup);
Vue.use(Popover);
Vue.use(OptionGroup);
Vue.use(Autocomplete);
Vue.use(TimeSelect);
Vue.use(TabPane);
Vue.use(Tabs);
Vue.use(DatePicker);
Vue.use(CheckboxGroup);
Vue.use(Checkbox);
Vue.use(Divider);
Vue.use(Tag);
Vue.use(Image);
Vue.use(Upload);
Vue.use(Col);
Vue.use(Row);
Vue.use(ColorPicker);
Vue.use(Pagination);
Vue.use(Dialog);
Vue.use(Option);
Vue.use(Select);
Vue.use(TableColumn);
Vue.use(Table);
Vue.use(Container);
Vue.use(Aside);
Vue.use(Header);
Vue.use(Main);
Vue.use(Footer);
Vue.use(Dropdown);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Scrollbar);
Vue.use(Menu);
Vue.use(MenuItem);
Vue.use(Submenu);
Vue.use(Tooltip);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(RadioGroup);
Vue.use(Radio);
Vue.use(Button);
Vue.use(Input);
Vue.use(Cascader);
Vue.use(Card);
Vue.use(RadioButton);